/**
 * @Author: fei.wu
 * @Email: fei.wu@rograndec.com
 * @CreateDate: 2018/11/13
 * @Version: 1.0
 */
public class Demo {

    public static void main(String[] args) {
        boolean matches = "/error".matches("/error");
        System.out.println(matches);

        String str = " A B C ";
        System.out.printf(str.trim());

//        String str = "e_id,e_name,e_parent_id,su_id,app_id,e_legal,e_legal_no,e_license_no,e_pic,e_add_time,e_action_time,e_auth_time,e_auth_reason,e_auth_app_id,e_status,e_type,e_type_sub,e_province,e_city,e_region,e_address,e_contactor,e_mobile,e_tel,e_updated,e_class,e_gsp_no,e_trading_no,operator_user_id";
//        String[] split = str.split(",");
//        for (String s : split) {
//            System.out.println("<field name=\""+s+"\" type=\"string\" indexed=\"true\" stored=\"true\"/>");
//
//        }
    }
}
